package com.zhou.log;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

public class Log implements MethodBeforeAdvice {
    public void before(Method method, Object[] objects, Object o) throws Throwable {
        System.out.println("[DEBUG]执行了 " + o.getClass().getName() + " 的 " + method.getName() + " 方法......");
    }
}
